package com.jielin.handling.service.room;

import java.util.List;

import com.jielin.handling.entity.room.RoomCameraInfoVo;
import com.jielin.handling.entity.room.RoomInformation;

public interface RoomInformationService {

	List<RoomInformation> findAllRoomStatus(String organizationId, int pageNum, int pageSize);// 查询所有房间的状态

	String reserveRoom(String roomid, String policeid, String suspectid, String orgId, int method, String startDate,
			String endDate);// 预约空闲房间

	int cancelreserveRoom(String roomid, String roomrecordid, String policeId);// 取消预约房间

	int useStartReserveRoom(String roomid);// 使用预约房间

	int useEndReserveRoom(String roomid, String roomrecordid, String leaveallcase);// 结束使用房间

	List<RoomCameraInfoVo> findRoomCameraInfoByOrganizationId(String organizationId);// 查询本单位房间区域信息与摄像头信息

	RoomCameraInfoVo findRoomCameraInfoByRoomId(String roomId);// 查询房间的摄像头信息

	/**
	 * 将房间预约超过30分钟没使用与使用超过4小时的房间重置为空闲状态
	 */
	void resetRoomStatus();
}
